/*
 * BanBu_PersonDataHeader
 * @description 本文件提供个人空间的headerView
 * @package
 * @author 		***
 * @copyright
 * @version 		1.0
 * @description 本文件提供个人空间的headerView
 */

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <MediaPlayer/MediaPlayer.h>
#import "BanBu_PersonMusicPlay.h"
#import "BanBu_PlayButton.h"
#import "BanBu_WaveView.h"
@class BanBu_SnowFall;
@protocol PerosonDataHeaderDelegate <NSObject>
-(void)headerButtonDidPressWithIndex:(NSInteger)_index;
@end
@interface BanBu_PersonDataHeader : UIView <UIImagePickerControllerDelegate,UINavigationControllerDelegate,MusicPlayDelegate,UIActionSheetDelegate>
{
    BanBu_PersonMusicPlay * _player;
    BanBu_SnowFall *snow;
    IBOutlet UIButton *animbtn;
}
//容器
@property (retain, nonatomic) IBOutlet UIView           *containerView;
//大背景飘动图片
@property (retain, nonatomic) IBOutlet BanBu_WaveView   *waveImage;
//播放按钮
@property (retain, nonatomic) IBOutlet BanBu_PlayButton *playbtn;

@property (retain, nonatomic) IBOutlet UIButton         *fensiBtn;

@property (retain, nonatomic) IBOutlet UILabel          *fensiNum;

@property (retain, nonatomic) IBOutlet UIButton         *guanzhuBtn;

@property (retain, nonatomic) IBOutlet UILabel          *guanzhuNum;

@property (retain, nonatomic) IBOutlet UILabel          *starAndAge;

@property (retain, nonatomic) IBOutlet UIImageView      *verified;

@property (retain, nonatomic) IBOutlet UIImageView      *sex;

@property (retain, nonatomic) IBOutlet UILabel          *distance;

@property (retain, nonatomic) IBOutlet UILabel          *laseOnline;

@property (retain, nonatomic) IBOutlet UIImageView      *vip;

@property (retain, nonatomic) IBOutlet UIImageView      *ufaceImage;

@property (retain, nonatomic) IBOutlet UIButton         *actionButton;

@property (retain, nonatomic) IBOutlet UIButton         *albumButton;

@property (retain, nonatomic) IBOutlet UIButton         *profileButton;
//雪花飘动URL
@property (copy, nonatomic  ) NSString     *snowImageURL;
//语音URL
@property (copy, nonatomic  ) NSString     *voiceURL;

@property (nonatomic, copy  ) NSString     * loadurl;
//数据
@property (retain, nonatomic) NSDictionary *dataSource;

@property (nonatomic, assign)id<PerosonDataHeaderDelegate> delegate;

+(BanBu_PersonDataHeader *)instanceView;

- (IBAction)avatarPhotoPress:(UIButton *)sender;
@end
